﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Message.aspx.cs" Inherits="View_Message" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>留言管理</title>
    <link href="../Admin/css/style.css" rel="stylesheet" type="text/css" />
   <style type="text/css">
        body{
            margin:0
        }
    </style>
</head>
<body>
<center>
<br />
<br />
<br />
<form runat="server" id="form">
<table width="95%" cellspacing="0" cellpadding="0">
	  <tr class="gvHead">
	    <td style="height: 20px; width: 903px;" align="left"><b>&nbsp;&nbsp<img alt="" src="Aimages/icon_menu.gif" /><font color="#FF6600">留言信息管理</font></b></td>
	  </tr>
	  <tr><td style="height:20px; width: 903px;">&nbsp;</td></tr>
      <tr>
        <td style="width: 100%" colspan="2">
            <asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDeleting="GridView1_RowDeleting" BorderStyle="None" OnSelectedIndexChanging="GridView1_SelectedIndexChanging" DataKeyNames="id" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging"><HeaderStyle CssClass="gvHead"  font-size="12px"  Height="25px" />
                <RowStyle  height="24px" BackColor="White" font-size="12px" />
                <Columns>
                    <asp:BoundField DataField="id" HeaderText="编号" ReadOnly="True" Visible="False" >
                        
                    </asp:BoundField>
                    <asp:BoundField HeaderText="留言者" DataField="messname" >
                        
                    </asp:BoundField>
                    
                    
                    <asp:BoundField DataField="messtitle" HeaderText="留言主题" />
                    <asp:BoundField DataField="messTime" HeaderText="留言时间" />
                    <asp:CommandField SelectText="查看" ShowSelectButton="True" />
                    <asp:CommandField ShowDeleteButton="True" DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗？')&quot;&gt;删除&lt;/div&gt;">
                        
                    </asp:CommandField>
                </Columns>
            </asp:GridView>
        </td>
    </tr>

</table>
    </form>
    </center>
</body>
</html>
